package com.neu.smty.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.neu.common.annotation.Excel;

@Data
@ApiModel("用户信息")
public class UserVo {

    /** 用户ID */
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 用户账号 */
    @ApiModelProperty("用户名")
    private String userName;

    /** 用户昵称 */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /** 用户邮箱 */
    @ApiModelProperty("用户邮箱")
    private String email;

    /** 手机号码 */
    @ApiModelProperty("手机号")
    private String phonenumber;

    /** 用户性别 */
    @ApiModelProperty("用户性别 0 男 1 女")
    private String sex;

    /** 用户头像 */
    @ApiModelProperty("用户头像")
    private String avatar;

    /** 身份证号 */
    @ApiModelProperty("身份证号")
    private String  idCard;

    /** 账户余额 */
    @ApiModelProperty("账户余额")
    private BigDecimal balance;

    /** 真实姓名 */
    @ApiModelProperty("真实姓名")
    @Excel(name = "真实姓名")
    private String realName;

    /** 居住地址 */
    @ApiModelProperty("居住地址")
    private String address;

    /** 户籍地址 */
    @ApiModelProperty("户籍地址")
    private String registerPlace;

    /** 出生日期 */
    @ApiModelProperty(value="出生日期",example = "2021-09-10")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /** 籍贯 */
    @ApiModelProperty("籍贯")
    private String nativePlace;

    /** 民族 */
    @ApiModelProperty("民族")
    private String nation;

    /** 文化程度 */
    @ApiModelProperty("文化程度")
    private String degree;

    /** 婚姻状况 */
    @ApiModelProperty("婚姻状况")
    private String marriage;

    /** 职业 */
    @ApiModelProperty("职业")
    private String career;

    /** 单位 */
    @ApiModelProperty("单位")
    @Excel(name = "单位")
    private String organization;

    /** 紧急联系人 */
    @ApiModelProperty("紧急联系人")
    private String contacts;

    /** 联系人电话 */
    @ApiModelProperty("联系人电话")
    private String contactsPhone;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhonenumber() {
		return phonenumber;
	}

	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRegisterPlace() {
		return registerPlace;
	}

	public void setRegisterPlace(String registerPlace) {
		this.registerPlace = registerPlace;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public String getMarriage() {
		return marriage;
	}

	public void setMarriage(String marriage) {
		this.marriage = marriage;
	}

	public String getCareer() {
		return career;
	}

	public void setCareer(String career) {
		this.career = career;
	}

	public String getOrganization() {
		return organization;
	}

	public void setOrganization(String organization) {
		this.organization = organization;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactsPhone() {
		return contactsPhone;
	}

	public void setContactsPhone(String contactsPhone) {
		this.contactsPhone = contactsPhone;
	}
    
    

}
